package com.yidu.qianfeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yidu.qianfeng.common.bean.company.EmpModel;
import com.yidu.qianfeng.common.bean.company.ModelAuth;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: TangSheng
 * @Description: 模块权限实体映射
 * @Date Created in 15:57 2021/4/12
 * @since 1.0
 */

@Repository("empModelMapper")
@Mapper
public interface EmpModelMapper extends BaseMapper<EmpModel> {
    /**
     * 根据员工列表查询模块权限列表
     * @param empAccount 员工账号
     * @return 员工模块权限列表
     */
    public List<ModelAuth> selectMauthByEmpAccount(String empAccount);

}
